const seectData = require('./seletLocalData.js')

export default function getDataByKey (dataType, key) {
  const result = seectData[dataType].find(n => n.key === key)
  return result[0]
}
